Skip to main content

All Questions

Tagged with
0votes
1answer
2kviews

Perform sudo commands via midnight commander and sftp

I use midnight commander to sftp into my ubuntu VPS. The VPS requires sudo for anything important, e.g. copy/move/delete files. So for e.g. I cannot press F5 to copy (except into ~). Is it possible ...
lonix's user avatar
  • 1,945
0votes
0answers
753views

OSX SFTP with Sudo?

I have been given access to a server to do some legacy development work. The server is running RedHat Enterprise Linux 6 as its OS. To access this server, I must first SSH in with my username/...
SBB's user avatar
  • 101
0votes
2answers
1kviews

Script works without sudo, fails with sudo

When I launch this script: #!/bin/bash -v sshpass -p '<pypasswd>' scp blah.img root@myip:/home/user/blah.img exit 0 with ./script.sh or nohup ./script.sh & it works. But when I do ...
Basj's user avatar
  • 2,651
1vote
2answers
3kviews

How do I use my own local text editor to modify system (requires root to save) files on a remote system?

I've recently fallen in love with github's Atom text editor, and I enjoy using it for all my local coding and configuration. I started to maintain a Nagios installation for several dozen servers and ...
Harsha K's user avatar

close